//
//  YPMineTableViewCell.m
//  project
//
//  Created by 姚敦鹏 on 2018/10/25.
//  Copyright © 2018 rocHome. All rights reserved.
//

#import "YPMineTableViewCell.h"

@implementation YPMineTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setDataModel:(YPBaseModel *)dataModel {
    
    [super setDataModel:dataModel];
    
    YPMineModel *mineModel = (YPMineModel *)dataModel;
    _iconImageView.image   = IMAGENANED(mineModel.iconName);
    _titleLable.text       = mineModel.title;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
